package com.wyg.ep_timer.config;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.stereotype.Component;

/**
 * @Author: WangYongGan
 * @Date: 2022/5/17 2:21
 * @Description:
 */
@Component
public class BaseConstant implements InitializingBean {
    public static boolean linux;
    public static String QQMail = "2224569342@qq.com";
    public static String urlEnontion = "http://10.16.16.234:8083/predictions/Emontion_model";
    public static String urlNer = "http://10.16.16.234:8083/predictions/Ner_model";
    public static String urlGetWords = "http://114.55.253.244:8002/getWords";
    public static String urlEntityIsValid = "http://localhost:5000";
    public static String webUrl = "http://localhost:8001";


    @Override
    public void afterPropertiesSet() throws Exception {
        if (System.getProperty("os.name").contains("inux"))
            linux = true;
    }
}
